[virtual=x86,bios +compress] .bootstrap = {
    startup-bios
    PATH=:/proc/boot:/usr/bin:/bin:/usr/photon/bin LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll	PHOTON_PATH=/usr/photon	procnto -v
}
[+script] .script = {
    procmgr_symlink ../../proc/boot/libc.so.2 /usr/lib/ldqnx.so.2

    devc-con -n1
    waitfor /dev/con1
	reopen /dev/con1
     
    display_msg .
    display_msg Welcome to QNX Neutrino 6.3 on an x86 platform

    slogger &
    pipe &

    display_msg Starting PCI
    pci-bios
    waitfor /dev/pci 10

	display_msg Starting EIDE
	devb-eide &
	
	waitfor /dev/cd0 10
	mount /dev/cd0 /

    SYSNAME=nto
    TERM=qansi
    PHOTON=/dev/photon
    PATH=:/proc/boot:/usr/bin:/sbin:/bin:/usr/photon/bin
    LD_LIBRARY_PATH=:/proc/boot:/usr/lib:/lib:/lib/dll
    PHOTON_PATH=/usr/photon
    PHOTON=/dev/photon
    PHFONT=/dev/phfont
    HOME=/

    display_msg Starting Photon
    Photon
    waitfor /dev/photon 10

    display_msg Starting Input
    devi-hirun kbd kbddev ps2 mousedev &

    display_msg Starting Graphics
	io-graphics -dvesabios photon,xres=1024,yres=768,bitpp=16,refresh=60 -pphoton
##	io-graphics -dtnt vid=0x10de,did=0x2c,index=0,photon,xres=1280,yres=1024,bitpp=32,refresh=60 -pphoton hwcursor 
##	io-graphics -dgeode vid=0x1078,did=0x104,index=0,photon,xres=1024,yres=768,bitpp=16 -pphoton hwcursor 
    waitfor /dev/phfont 10

    display_msg Starting Window Manager
    pwm &
    bkgdmgr &
    devc-pty &

    display_msg Starting Terminal
	pterm /bin/sh
	
	[+session] ksh	
}

[type=link] /bin/sh = /proc/boot/ksh
[type=link] /dev/console = /dev/con1
[type=link] /tmp = /dev/shmem

# standard libs
libc.so
libm.so
libcam.so
cam-disk.so
cam-cdrom.so
io-blk.so
fs-qnx4.so
fs-cd.so

[data=c]
pci-bios
devc-pty
devc-con
devb-eide

ls
ksh
cat
pipe
pidin
uname
slogger
sloginfo
slay
mount

# allow pterm to save its configuration to RAM, if the user changes it.
[type=link] /.ph/pterm = /dev/shmem

# allow pwm and bkgdmgr to save their configuration to RAM, if the user changes it.
[type=link] /.ph/wm = /dev/shmem
